|
|
|
|
Joined: Sep 2001
Posts: 5
Junior Member
|
|
Junior Member
Joined: Sep 2001
Posts: 5 |
I have a similar problem now that I upgraded to v 6.2 from 6.1. I had added two graphics below the “my profile | register | search | faq | forum home” line by modifying the $MainButtonsLine code in ubb_lib.cgi. The original code was: quote:
$MainButtons = qq! $MyProfileLink $ifmyreg $RegisterLink $ifregsearch $SearchLink $ifsearchrest $vars_wordlets{faq_link} | $vars_wordlets{forum_home_link}
And I added this right below it: quote:


But now the code in ubb_lib.cgi is completely different: quote:
if ($vars_registration{DisplayRegistration} ne 'NO') { # My Profile push(@items, qq($vars_wordlets{profile_link}));
if($vars_registration{SuspendRegister} ne "true") { # Register push(@items, qq($vars_wordlets{register_link})); } # end if } # end if
if ($vars_search{AllowSearch} ne 'FALSE') { # Search push(@items, qq($vars_wordlets{search_link})); }
# FAQ push(@items, qq($vars_wordlets{faq_link})); # Forum Home push(@items, qq($vars_wordlets{forum_home_link}));
return join(" | ", @items) } # end MainButtonOptions
I tried 20 different ways of adding my code to the end of this but it crashed my board every time. Anybody have any suggestions as to the proper way to add my buttons to this code? 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 253
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,957
Members13,826
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 2993
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 3
|
|
|
|
|
|